/**
 * 公共路由
 */
import type { RouteRecordRaw } from "vue-router";

export const commonRoutes: RouteRecordRaw[] = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    name: "home",
    meta: { title: "首页" },
    component: () => import("@/views/home"),
  },
  {
    path: "/login",
    name: "login",
    meta: { title: "登录" },
    component: () => import("@/views/login"),
  },
];
